package cn.edu.lcvc.ebuy_2023rj2.model;

import java.util.Date;

/**
 * 管理员类
 * 用于描述管理员的个人信息
 */
public class Admin {
    private Integer id;//id
    private String username;//账户名
    private String password;//密码
    private String name;//姓名
    private Integer sex;//性别
    private Boolean unLocked;//锁定状态，true表示不锁定，false表示锁定
    private  String photo;//上传头像的地址
    private Date createTime;//注册时间。注意日期类型

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Boolean getUnLocked() {
        return unLocked;
    }

    public void setUnLocked(Boolean unLocked) {
        this.unLocked = unLocked;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
